[Service]
Environment="KUBELET_KUBECONFIG_ARGS=--bootstrap-kubeconfig={{ kubernetes_path }}/bootstrap-kubelet.conf --kubeconfig={{ kubernetes_path }}/kubelet.conf"
Environment="KUBELET_SYSTEM_PODS_ARGS=--pod-manifest-path={{ Manifests_path }} --allow-privileged=true"
Environment="KUBELET_NETWORK_ARGS=--network-plugin=cni --cni-conf-dir=/etc/cni/net.d --cni-bin-dir={{ cni_path }}"
Environment="KUBELET_DNS_ARGS=--cluster-dns={{ ClusterDns }} --cluster-domain={{ cluster_domain_name }}"
Environment="KUBELET_AUTHZ_ARGS=--authorization-mode=Webhook --client-ca-file={{ kubernetes_pki }}/{{ ca }}.pem"
Environment="KUBELET_CERTIFICATE_ARGS=--rotate-certificates=true --cert-dir={{ kubelete_data_path }}/pki"
Environment="KUBELET_EXTRA_ARGS=--node-labels=node-role.kubernetes.io/node='' --logtostderr=true --v=2 --cgroup-driver={{ cgroup_driver }} --pod-infra-container-image={{ pause_img }}"
ExecStart=
ExecStart={{ kubelet_path }}/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_SYSTEM_PODS_ARGS $KUBELET_NETWORK_ARGS $KUBELET_DNS_ARGS $KUBELET_AUTHZ_ARGS  $KUBELET_CERTIFICATE_ARGS $KUBELET_EXTRA_ARGS
